package nz.ac.massey.groupproject.ecs2;

public class LifespanSystem implements ECSSystem {

	public void tick(ECSWorld world, ECSEntity ent, Lifespan life) {
		if (--life.t <= 0)
			world.removeLater(ent);
	}
}
